QT       += core gui network websockets sql
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    accfocus.cpp \
    accountdown.cpp \
    accountdownitem.cpp \
    addrelation_menu.cpp \
    agreeapplicationdialog.cpp \
    applicationdialog.cpp \
    applicationitem.cpp \
    baseinfo.cpp \
    basemessage.cpp \
    checkbox.cpp \
    communication.cpp \
    communicationitem.cpp \
    communicationpage.cpp \
    direction.cpp \
    dragwidget.cpp \
    fileinfo.cpp \
    fileinfocontent.cpp \
    fileitem.cpp \
    filemessage.cpp \
    fileoperator.cpp \
    frienditem.cpp \
    httpclient.cpp \
    info_item.cpp \
    main.cpp \
    messagestatus.cpp \
    odbcutil.cpp \
    orientation.cpp \
    otherinfo.cpp \
    pwdfocus.cpp \
    qq.cpp \
    qqlaunch.cpp \
    qqmain.cpp \
    qsendfiledialog.cpp \
    searchfriend.cpp \
    searchfrienditem.cpp \
    searchitem.cpp \
    searchlineedit.cpp \
    selfinfo.cpp \
    servicetype.cpp \
    sizetype.cpp \
    spaceblock.cpp \
    sqliteutil.cpp \
    sqltype.cpp \
    tcpclient.cpp \
    tcpserver.cpp \
    textedit.cpp \
    textmessage.cpp \
    timeinfo.cpp \
    tip.cpp \
    trayiconmenu.cpp \
    udpclient.cpp \
    udpserver.cpp \
    undragwidget.cpp \
    websocketclient.cpp

HEADERS += \
    accfocus.h \
    accountdown.h \
    accountdownitem.h \
    addrelation_menu.h \
    agreeapplicationdialog.h \
    applicationdialog.h \
    applicationitem.h \
    baseinfo.h \
    basemessage.h \
    checkbox.h \
    communication.h \
    communicationitem.h \
    communicationpage.h \
    direction.h \
    dragwidget.h \
    fileinfo.h \
    fileinfocontent.h \
    fileitem.h \
    filemessage.h \
    fileoperator.h \
    frienditem.h \
    httpclient.h \
    info_item.h \
    messagestatus.h \
    odbcutil.h \
    orientation.h \
    otherinfo.h \
    pwdfocus.h \
    qq.h \
    qqlaunch.h \
    qqmain.h \
    qsendfiledialog.h \
    searchfriend.h \
    searchfrienditem.h \
    searchitem.h \
    searchlineedit.h \
    selfinfo.h \
    servicetype.h \
    sizetype.h \
    spaceblock.h \
    sqliteutil.h \
    sqltype.h \
    tcpclient.h \
    tcpserver.h \
    textedit.h \
    textmessage.h \
    timeinfo.h \
    tip.h \
    trayiconmenu.h \
    udpclient.h \
    udpserver.h \
    undragwidget.h \
    websocketclient.h

FORMS += \
    accountdown.ui \
    accountdownitem.ui \
    addrelation_menu.ui \
    agreeapplicationdialog.ui \
    applicationdialog.ui \
    applicationitem.ui \
    communication.ui \
    communicationitem.ui \
    communicationpage.ui \
    fileinfo.ui \
    fileitem.ui \
    frienditem.ui \
    info_item.ui \
    otherinfo.ui \
    qq.ui \
    qqmain.ui \
    qsendfiledialog.ui \
    searchfriend.ui \
    searchfrienditem.ui \
    searchitem.ui \
    selfinfo.ui \
    spaceblock.ui \
    timeinfo.ui \
    tip.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    imges.qrc


